<?php

/*

  Action Attack	$2

  +2$
  Until your next turn, each other player gets -1$ in the beginning of their buy phase
  At the start of your turn - discard it from play

 */

class Partisans extends Card implements iAction, iKingdom, iAttack, iDuration, iHolyGrail {

    public function __construct() {
        parent::__construct("Partisans", 4);
        $this->undoPlay = false;
        $this->undoBuy = true;
    }

    public function getDescription() {
        return array(
            "+2$",
            "Until your next turn, each other player gets -1$ in the beginning of their buy phase",
            "At the start of your turn - discard it from play");
    }

    public function isImplemented() {
        return false;
    }

    public function play(Game $game, $isRealCard) {

        $game->cardActionFinished();
        return true;
    }

    public function cleanup(Game $game) {
        
    }

    public function startTurn(Game $game, $quantity) {
        if ($quantity > 0)
            return RETURN_DURATION_TO_DISCARD;
        else
            return DELETE_VIRTUAL_DURATION_CARD;
    }

}

?>